<div id="main">
    <div class="section">
        <div class="title">Change Clan Status</div>
        <form action="console.php?a=m&amp;m=Diplomacy&amp;p=cs" method="post">
            <table class="content">
                <tr>
                    <td>Clan:&nbsp;</td>
                    <td>
                        <select name="clan_id">
                            {foreach from=$clans item=clan}
                            <option value="{$clan.id}">{$clan.name}</option>
                            {/foreach}
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>New Status:&nbsp;</td>
                    <td>
                        <select name="new_status">
                            <option value="Allied" {if $clan.status eq "Allied"}selected="selected"{/if}>Allied</option>
                            <option value="Neutral" {if $clan.status eq "Neutral"}selected="selected"{/if}>Neutral</option>
                            <option value="Hostile" {if $clan.status eq "Hostile"}selected="selected"{/if}>Hostile</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><button type="submit">Change Status</button></td>
                </tr>
            </table>
        </form>
    </div>
</div>

